﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace IPMS.Models
{
    public class DepartmentModel
    {
        private DataContextDataContext dataContext = new DataContextDataContext();
        public List<Department> GetAllDepartments()
        {
            return this.dataContext.GetAllDepartments().ToList();
        }
    }
}
